<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action="" method="post" id="cp-form" enctype="multipart/form-data">
            <div class="layui-form-item">
                <label class="layui-form-label">名称 <span class="request-tips">*</span></label>
                <div class="layui-input-block">
                    <input type="text" name="name"  value="" required lay-verify="required" placeholder="名称" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">备注 <span class="request-tips">*</span></label>
                <div class="layui-input-block">
                    <textarea name="remark" id="" cols="30" rows="10" class="layui-textarea"></textarea>
                </div>
            </div>

            <div class="layui-form-item">
            <label class="layui-form-label">主菜单 </label>
            <div class="layui-input-block">
                <input type="checkbox" title="" value="1" class="layui-input" name="is_main"  lay-skin="primary">
            </div>
        </div>


            <div class="layui-form-item">
                <div class="layui-input-block">
                    <div class="layui-text">带 * 号的为必填项</div>
                    <button class="layui-btn" lay-submit lay-filter="formDemo">保存</button>
                    <a href="javascript:history.go(-1);" class="layui-btn layui-btn-primary">返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
